﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="CapNhatMatKhauaspx.aspx.cs" Inherits="LayoutTemplate.CapNhatMatKhauaspx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <style type="text/css">
    .newStyle1 {
	width: 150px;
	height: 407px;
	float: left;
}
.newStyle2 {
	width: 300px;
	height: 70px;
	float: left;
}
.newStyle3 {
	width: 150px;
	height: 70px;
	float: left;
}
.newStyle4 {
	float: right;
	width: 400px;
	height: 409px;
}
</style>
	<div style="width: 750px; float: left;">
	<div style="float:left; width:200px"><asp:Menu runat="server" id="Menu1">
	<Items>
		<asp:menuitem NavigateUrl="ThongTinCaNhan.aspx" Text="Thông tin cá nhân" Value="Thông tin cá nhân">
		</asp:menuitem>
		<asp:menuitem NavigateUrl="TinhTrangDonHang.aspx" Text="Tình trạng đơn hàng" Value="Tình trạng đơn hàng">
		</asp:menuitem>
		<asp:menuitem NavigateUrl="LichSuMuaHang.aspx" Text="Lịch sử mua hàng" Value="Lịch sử mua hàng">
		</asp:menuitem>
	</Items>
	</asp:Menu></div>
		<div class="newStyle1">
			<div>
				<asp:Label runat="server" Text="Nhập mật khẩu cũ" id="Label1" CssClass="newStyle3"></asp:Label></div>
			<div>
				<asp:Label runat="server" Text="Mật khẩu mới" id="Label3" CssClass="newStyle3"></asp:Label></div>
			<div>
				<asp:Label runat="server" Text="Xác nhận mật khẩu mới" id="Label4" CssClass="newStyle3"></asp:Label></div>
			<div>
				</div>
		</div>
		<div class="newStyle4">
			<div class="newStyle2">
			<asp:TextBox runat="server" id="tbMatKhauCu" TextMode="Password"></asp:TextBox>
				<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="tbMatKhauCu" ErrorMessage="*"></asp:RequiredFieldValidator>
				<div>
					<asp:RegularExpressionValidator id="RegularExpressionValidator2" runat="server" ControlToValidate="tbMatKhauCu" ErrorMessage="password phải từ 6 - 20 ký tự" ValidationExpression="^[a-zA-Z0-9''-'\s]{6,20}$"></asp:RegularExpressionValidator>
				</div>
			</div>
			
			<div class="newStyle2">
				<asp:TextBox runat="server" id="tbMatKhauMoi" TextMode="Password"></asp:TextBox>
				<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="tbMatKhauMoi" ErrorMessage="*"></asp:RequiredFieldValidator>
				<div>
					<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ControlToValidate="tbMatKhauMoi" ErrorMessage="password phải từ 6 - 20 ký tự" ValidationExpression="^[a-zA-Z0-9''-'\s]{6,20}$"></asp:RegularExpressionValidator>
				</div>
			</div>
			
			<div class="newStyle2">
			    <asp:TextBox runat="server" id="tbNhapLaiMatKhauMoi" TextMode="Password"></asp:TextBox>
				<asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ControlToValidate="tbNhapLaiMatKhauMoi" ErrorMessage="*"></asp:RequiredFieldValidator>
				<div>
					<asp:CompareValidator id="CompareValidator1" runat="server" ControlToCompare="tbMatKhauMoi" ControlToValidate="tbNhapLaiMatKhauMoi" ErrorMessage="Vui lòng kiểm tra mật khẩu"></asp:CompareValidator>
				</div>
			</div>
			
			<div style="float:left; width:50%">
				<asp:Button id="btnCapNhat" runat="server" 
                    Text="Cập nhật" onclick="btnCapNhat_Click" /></div>
		</div>
	</div>

</asp:Content>
